package com.mercury.pattern._09_facade;

/**
 *
 */
public class DVDPlayer {

    private static DVDPlayer dvdPlayer = new DVDPlayer();

    public static DVDPlayer getInstance() {
        return dvdPlayer;
    }


    public void on(){
        System.out.println(" dvd 开启 ");
    }

    public void off(){
        System.out.println(" dvd 关闭 ");
    }

    public void play(){
        System.out.println(" dvd 播放");
    }
}